#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.69])
AC_INIT([FULL-PACKAGE-NAME], [VERSION], [BUG-REPORT-ADDRESS])
AC_CONFIG_SRCDIR([unrealircd-libs/argon2/include/argon2.h])
AC_CONFIG_HEADERS([config.h])

# Checks for programs.
AC_PROG_CXX
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_LN_S

# Checks for libraries.

# Checks for header files.
AC_CHECK_HEADERS([limits.h stddef.h stdint.h stdlib.h string.h sys/time.h])

# Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_SIZE_T
AC_TYPE_SSIZE_T
AC_TYPE_UINT16_T
AC_TYPE_UINT32_T
AC_TYPE_UINT64_T
AC_TYPE_UINT8_T

# Checks for library functions.
AC_FUNC_MALLOC
AC_CHECK_FUNCS([memset strtoul])

AC_CONFIG_FILES([Makefile
                 unrealircd-libs/argon2/Makefile])
AC_CONFIG_SUBDIRS([unreal-ircd
                   unrealircd-libs/c-ares
                   unrealircd-libs/c-ares-1.16.1
                   unrealircd-libs/curl
                   unrealircd-libs/curl-7.72.0
                   unrealircd-libs/libressl-3.1.4
                   unrealircd-libs/pcre2])
AC_OUTPUT
